package com.killer.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author ：Killer
 * @date ：Created in 20-12-31 下午3:21
 * @description：${description}
 * @modified By：
 * @version: version
 */
@TableName("t_auth_code")
public class AuthCode {

    //主键id
    @TableId(type = IdType.AUTO)
    private Long id;

    //邮箱
    private String email;

    //验证码
    private String code;

    //创建时间
    private Date createtime;

    //过期时间
    private Date expiretime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getExpiretime() {
        return expiretime;
    }

    public void setExpiretime(Date expiretime) {
        this.expiretime = expiretime;
    }
}
